package com.zr.subclass.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by 86151 on 2019/6/14.
 */
@Data
public class SubClassAddVo {

    @NotBlank(message = "新增时，名称不能为空！")
    private String name;

    @NotBlank(message = "新增时，编码不能为空！")
    private String code;

    @NotNull(message = "新增时，状态不能为空！")
    private Boolean status;

    private String remark;


}
